-- GENERATED SPELL FOR [Enslaved Minion] --


function spell0_32260(pUnit, Event) --@Shadow Shield,n/a--
pUnit:FullCastSpellOnTarget(31976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32260', 30332, 1)
end

function Sorts_32260(pUnit, Event)
local choix_sorts_32260 = math.random(0, 0)
if choix_sorts_32260 == 0 then
pUnit:RegisterEvent('spell0_32260', 1, 1)
end
end

function mob32260_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32260', math.random(1500, 3000), 1)
end

function mob32260_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32260_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32260_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32260, 1, 'mob32260_Action')
RegisterUnitEvent(32260, 2, 'mob32260_Leave')
RegisterUnitEvent(32260, 3, 'mob32260_Kill')
RegisterUnitEvent(32260, 4, 'mob32260_Die')
